{config_load file="index.conf"}
{include file="inc/doctype.tpl"}

<head>
    <title>Search result</title>
    {include file="inc/include.tpl"}
</head>

<body>

{include file="inc/logo.tpl"}
{include file="inc/global_menu.tpl"}

{if sizeof($result)}
	{foreach from=$result item=item}
	    <a href="/another/index/{$item.user_id}/">{$item.user_login}</a>, {$item.user_age}<br />
	{/foreach}
{else}
<p>Empty</p>
{/if}
<div>
    <!-- Paging -->
    {foreach from=$paging item=item key=key}
        {if $page == $key}{$item}{else}<a href="{$sys_action_path}/{if $key != 0}{$key}/{/if}?{$query}">{$item}</a>{/if} 
    {/foreach}
    <!--// Paging -->
</div>
<a href="/search/?save=1">Change search params</a><br />

</body>

</html>